package acid.spring.db;


/**
 *
 * @author morgan
 */
public class Tissue implements java.io.Serializable{

    private int tissue_id;
    private String name;

    public Tissue(int tissue_id, String name)
    {
        this.tissue_id = tissue_id;
        this.name = name;
    }




    /**
     * Get the value of name
     *
     * @return the value of name
     */
    public String getName()
    {
        return name;
    }

    /**
     * Set the value of name
     *
     * @param name new value of name
     */
    public void setName(String name)
    {
        this.name = name;
    }

    /**
     * Get the value of tissue_id
     *
     * @return the value of tissue_id
     */
    public int getTissue_id()
    {
        return tissue_id;
    }

    /**
     * Set the value of tissue_id
     *
     * @param tissue_id new value of tissue_id
     */
    public void setTissue_id(int tissue_id)
    {
        this.tissue_id = tissue_id;
    }

    @Override
    public String toString()
    {
        return  name;
    }



}
